package com.cherrish.demo.web.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.cherrish.demo.dubbo.service.IHelloService;
import org.springframework.stereotype.Component;

/**
 * @author cherrish
 * @time 2019-04-25 15:51
 * @name HelloServiceImpl
 * @desc:
 */
@Service(interfaceClass = IHelloService.class)
@Component
public class HelloServiceImpl implements IHelloService{
    @Override
    public String hello(String name) {
        return "Hello, " + name;
    }
}
